﻿using SQLDataUploadHelper.commons.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace SQLDataUploadHelper.daos.bases
{
    internal class SqliteBaseDao
    {
        private string databasePath = string.Format(@"Data Source={0}data\AppConfig.db", AppDomain.CurrentDomain.BaseDirectory);
        private SqliteDbUtils sqliteDatabase;
        public SqliteDbUtils SqliteDatabase
        {
            get { return sqliteDatabase; }
            set { sqliteDatabase = value; }
        }

        public SqliteBaseDao()
        {
            SqliteDatabase = SqliteDbUtils.Instance;
            SqliteDatabase.DatabasePath = databasePath;
        }
    }
}
